import axios from 'axios'

// 创建axios实例
const request = axios.create({
    baseURL: <string> import.meta.env.VITE_CONTEXT_PATH
    // 请求超时时间，单位：秒
    , timeout: 10000
    // 设置允许携带cookie
    , withCredentials: true
});

export default request;